package com.zenith.edu.po.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "EduChapterVO", description = "章节VO")
public class EduChapterVO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "所属课程ID")
    private Long courseId;
    
    @Schema(description = "父章节ID，0-根章节")
    private Long parentId;
    
    @Schema(description = "章节标题")
    private String title;
    
    @Schema(description = "排序权重")
    private Integer sortOrder;
    
    @Schema(description = "层级深度")
    private Integer depth;
    
    @Schema(description = "状态：1-正常 2-禁用")
    private Integer status;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
}